﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Disk//父类
    {
        private string brand;//品牌
        public string Brand { get; set; }//属性
        public Disk(string brand)
        {
            this.brand = brand;
        }
        public void info()
        {
            Console.WriteLine(this.brand);
        }
    }
}
